package com.fkjslee.hos;

import com.fkjslee.hos.entity.Expert;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author fkjslee
 * @date 2018/1/2 at 17:10
 * Copyright (c) 2018 fkjslee. All rights reserved.
 */

public interface ExpertRepository extends JpaRepository<Expert, Long> {
//    List<Expert> findAll();
    Expert findById(Long id);
}
